<extend name="public@base5"/>
<block name="main">
    <div class="wrap js-check-wrap">
        <ul class="nav nav-tabs">
            <li class="nav-item">
                <a class="nav-link active" href="{:url('OpSetting/avatar')}">默认昵称/头像管理</a>
            </li>
        </ul>
        <form action="" method="post" class="margin-top-20">
            <table class="table table-hover table-bordered">
                <thead>
                <tr>
                    <th align="left">默认头像</th>
                    <th align="left">默认昵称</th>
                    <th align="left">所属性别</th>
                    <th align="left">修改时间</th>
                    <th width="120">{:lang('ACTIONS')}</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>
                        <a href="javascript:parent.imagePreviewDialog('{:cmf_get_image_preview_url(isset($mall.default_male_avatar) ? $mall.default_male_avatar : '')}');">
                            <img width="50" height="50" src="{:cmf_get_image_url(isset($mall.default_male_avatar) ? $mall.default_male_avatar : '')}">
                        </a>
                    </td>
                    <td>
                        {:isset($mall.default_male_nick) ? $mall.default_male_nick : ''}
                    </td>
                    <td>男</td>
                    <td>
                        {:isset($mall['default_male_date']) ? date('Y-m-d H:i:s',($mall['default_male_date'])) : ''}
                    </td>
                    <td>
                        <a class=" " href="{:url('OpSetting/avatarEdit',array('sex'=>'male'))}"
                            title="{:lang('EDIT')}" data-toggle="tooltip">
                            {:lang('EDIT')}
                        </a>
                    </td>
                </tr>
                <tr>
                    <td>
                        <a href="javascript:parent.imagePreviewDialog('{:cmf_get_image_preview_url(isset($mall.default_female_avatar) ? $mall.default_female_avatar : '')}');">
                            <img width="50" height="50" src="{:cmf_get_image_url(isset($mall.default_female_avatar) ? $mall.default_female_avatar : '')}">
                        </a>
                    </td>
                    <td>
                        {:isset($mall.default_female_nick) ? $mall.default_female_nick : ''}
                    </td>
                    <td>女</td>
                    <td>
                        {:isset($mall['default_female_date']) ? date('Y-m-d H:i:s',($mall['default_female_date'])) : ''}
                    </td>
                    <td>
                        <a class="" href="{:url('OpSetting/avatarEdit',array('sex'=>'female'))}"
                            title="{:lang('EDIT')}" data-toggle="tooltip">
                            {:lang('EDIT')}
                        </a>
                    </td>
                </tr>
                </tbody>
            </table>
        </form>
    </div>
</block>
